 <!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    

    <title>{$Think.config.site.title} - 订单详情</title>

    <meta name="keywords" content="{$Think.config.site.keywords}">

    <link href="{$Think.config.site.resource_url}css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="{$Think.config.site.resource_url}css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="{$Think.config.site.resource_url}css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="{$Think.config.site.resource_url}css/animate.min.css" rel="stylesheet">
    <link href="{$Think.config.site.resource_url}css/style.min.css?v=4.0.0" rel="stylesheet">

</head>
<style type="text/css">
    .text-r{text-align: right !important;}
	.text-l{text-align: left !important;}
	.text-c{text-align: center !important;}

	.bu{display: inline-block; background: #1ab394; width: 17px; height: 17px; border-radius: 50%; text-align: center; color: #fff}
	.tui{display: inline-block; background: #c7bcca; width: 17px; height: 17px; border-radius: 50%; text-align: center; color: #fff;}
	.vtop{vertical-align: top !important;}
</style>
<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">

      <div class="row">
          <div class="col-sm-12">
                <div class=" float-e-margins">
                    <div class="ibox-title">
                       <h5>订单信息</h5>（{$order.order_no} 【{switch name="$order['order_status']"}
												{case value="20"}已支付{/case}
												{case value="25"}待补价{/case}
												{case value="30"}已接单{/case}
												{case value="40"}已配送{/case}
												{case value="10"}已取消{/case}
												{case value="100"}已完成{/case}
											{/switch}】）
                    </div>
                    <div class="ibox-content">
                        <div class="table-responsive">
                            <table class="table table-striped" id="listtable">
                                <thead>
                                    <tr>
                                        <th>买家信息</th>
                                        <th>订单时间</th>
                                        <th>商品总价</th>
                                        <th>订单金额</th>
                                        <th>下单类型</th>
                                        <th>订单备注</th>
                                    </tr>
                                </thead>
                                <tbody>
                                	<tr>
                                		<td>{$order.receiver_name} {$order.receiver_mobile}
											<p style="margin: 0; max-width: 280px;">{$order.receiver_pcd}{$order.receiver_address}</p></td>
                                		<td>
                                			下单时间：{$order.create_time}<br >
											支付时间：{$order.pay_time}<br >
											{if($order['shipping_time'])}配送时间：{$order.shipping_time}<br >{/if}
											{if($order['delivery_name'])}配 送 员 ：{$order.delivery_name}{/if}
                                		</td>
                                		<td>商品总价：{$order.goods_money}<br />运费：{$order.shipping_money}</td>
                                		<td>订单总价：{$order.order_money}<br />支付金额：{$order.pay_money}</td>
                                		<td>{if($order['order_type'] == 1)}自主下单{else}管家下单{/if}</td>
                                		<td>{$order.remark}</td>
                                	</tr>
                                </tbody>
                            </table>
                        </div>

                    </div>
                </div>
            </div>

            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                       <h5>订单商品</h5>
                    </div>
                    <div class="ibox-content">
                        <div class="table-responsive">
                            <table class="table table-striped" id="listtable">
                                <thead>
                                    <tr>
                                        <th>图片</th>
                                        <th>名称</th>
                                        <th class="text-r">数量</th>
                                        <th class="text-r">单价</th>
                                        <th class="text-r">金额</th>
                                        
                                    </tr>
                                </thead>
                                <tbody>
                                    {volist name="goods" id="g"}
                                    <tr>
                                        <td><img src="{$g.goods_picture}" width="50"></td>
                                        <td >（{$g.brand_name}）{$g.goods_name}（{$g.goods_specval_name}）</td>
                                        <td class="text-r">{$g.num}</td>
                                        <td class="text-r">￥{$g.price}</td>
                                        <td class="text-r">￥{$g.num*$g.price}</td>
                                    </tr>
                                    {/volist}
                                </tbody>
                            </table>
                        </div>

                    </div>
                </div>
            </div>

            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                       <h5>改价记录</h5>
                    </div>
                    <div class="ibox-content">
                        <div class="table-responsive">
                            <table class="table table-striped" id="listtable">
                                <thead>
                                    <tr>
                                        <th>时间</th>
                                        <th width="80">金额</th>
                                        <th>操作员</th>
                                        <th>退款/补款单号</th>
                                        <th>备注</th>
                                    </tr>
                                </thead>
                                <tbody>
                                	{volist name="change" id="ch"}
                                	<tr>
                                		<td>{$ch.pay_time}</td>
                                		<td class="text-r">￥{$ch.price}</td>
                                		<td>{$ch.op_name}</td>
                                		<td>{$ch.pay_no}</td>
                                		<td>{$ch.remark}</td>
                                	</tr>
                                	{/volist}
                                </tbody>
                            </table>
                        </div>

                    </div>
                </div>
            </div>

            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                       <h5>退货记录</h5>
                    </div>
                    <div class="ibox-content">
                        <div class="table-responsive">
                            <table class="table table-striped" id="listtable">
                                <thead>
                                    <tr>
                                        <th>时间</th>
                                        <th>商品x数量</th>
                                        <th>单价</th>
                                        <th>合计</th>
                                        <th>备注</th>
                                    </tr>
                                </thead>
                                <tbody>
                                	{volist name="refundgoods" id="re"}
                                	<tr>
                                		<td>{$re.rg_time}</td>
                                		<td>（{$re.brand_name}）{$re.goods_name}*{$re.goods_specval_name} x{$re.rg_num}</td>
                                		<td>{$re.return_money}</td>
                                		<td>{$re['return_money']*$re['rg_num']}</td>
                                		<td>{$re.rg_remark}</td>
                                	</tr>
                                	{/volist}
                                </tbody>
                            </table>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="{$Think.config.site.resource_url}js/jquery.min.js?v=2.1.4"></script>
    <script src="{$Think.config.site.resource_url}js/bootstrap.min.js?v=3.3.5"></script>
    <script src="{$Think.config.site.resource_url}js/plugins/layer/layer.js"></script>
    <script src="{$Think.config.site.common_resource_url}js/majax.js"></script>
    <script src="{$Think.config.site.common_resource_url}js/laydate/laydate.js"></script>
    <script src="{$Think.config.site.common_resource_url}js/getDateRange.js"></script>
</body>

</html>
<script>

</script>